//
//  Calculator.h
//  NSClassFormStringDemo
//
//  Created by mobao on 16/3/30.
//  Copyright © 2016年 mobao. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Operation.h"

@interface Calculator : NSObject

/*!
 *  @author wxx, 16-03-30 12:03:35
 *
 *  计算器的计算方法
 *
 *  @param number1   传入数值1
 *  @param number2   传入数值2
 *  @param operators 运算符
 *
 *  @return 返回运算结果
 */
+(float)calculate:(float)number1 number2:(float)number2 operators:(NSString*)operators;

@end
